﻿<UserControls:ScrumUserControl x:Class="ScrumTable.UI.View.WinTouch.UserControls.Tool.TeamMemberSelector"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:s="http://schemas.microsoft.com/surface/2008" xmlns:UserControls="clr-namespace:ScrumTable.UI.View.WinTouch.UserControls">

    <UserControl.Resources>
        <!-- #region SurfaceListBoxItemDataTemplate -->
        <DataTemplate x:Key="MemberItemDataTemplate">
            <UserControls:MemberControl></UserControls:MemberControl>
        </DataTemplate>
    </UserControl.Resources>
    <Grid>
        <UserControls:SurfaceDragDropListBox
            ScrollViewer.VerticalScrollBarVisibility="Visible" Background="White" Padding="0" Margin="0"
            x:Name="DropTarget"
            MultipleColumnsRows="True"
            Opacity="0.75"
            Grid.Column="0"
            AllowDrop="False"
            IsItemSelectable="True"
            ItemTemplate="{StaticResource MemberItemDataTemplate}"                       
            ItemsSource="{Binding Path=ScrumData.CurrentMembers}"
            ItemsAreStatic="True" 
            SelectedItem="{Binding Member}"            
            />
    </Grid>
</UserControls:ScrumUserControl>
